#!/bin/sh
egrep -o 'https?://[^ ]+' $*

